package com.logicalthinking.socialmall.common.vo.requestVo.admin;

import com.github.chenlijia1111.utils.core.annos.PropertyCheck;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;

/**
 * 后台用户添加参数
 * @author Chen LiJia
 * @since 2020/2/17
 */
@Setter
@Getter
@ApiModel
public class AdminAddParams {

    /**
     * 名称
     */
    @ApiModelProperty("名称")
    @PropertyCheck(name = "名称")
    private String name;

    /**
     * 账号
     */
    @ApiModelProperty("账号")
    @PropertyCheck(name = "账号")
    private String account;

    /**
     * 密码
     */
    @ApiModelProperty("密码")
    @PropertyCheck(name = "密码")
    private String password;

    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    @PropertyCheck(name = "角色id")
    private Integer roleId;

}
